.header {
  height: 380px;

  
  .elegant {
    text-align: center;
    color: #fff;
    
    h1 {
      font-family: "OSBold";
      font-size: 40px;
      margin-bottom: 0px;
      margin-top: 90px;
    }

    p {
      font-size: 22px;
      font-family: "OSLight";
    }
  }
}

@media screen and (max-width:992px) {
  .header {
    height: 320px;

    
    .elegant {
      
      h1 {
        font-size: 30px;
      }

      p {
        font-size: 16px;
      }
    }
  }
}

@media screen and (max-width:768px) {
  .header {
    height: 245px;

    .elegant {
      
      h1 {
        margin-top: 50px;
        font-size: 30px;
      }

      p {
        font-size: 16px;
      }
    }
  }
}

@media screen and (max-width:450px) {
  .header {
    height: 200px;

    .elegant {
      
      h1 {
        margin-top: 50px;
        font-size: 26px;
      }

      p {
        font-size: 12px;
      }
    }
  }
}




/* 地图 */
.map {
  width: 100%;
  // height: 324px;
  margin-bottom: 70px;

  img {
    width: 100%;
    height: 100%;
  }
}

/* contact_info */
.contact_info {
  height: 400px;
  background-color: #fff;

  .info_list {
    display: flex;
    padding: 0;
    justify-content: space-around;
    margin-top: 20px;

    li {
      list-style: none;
      width: 200px;
      text-align: center;

      

      .icon {
        width: 66px;
        height: 66px;
        background-color: #71b6d5;
        border-radius: 50%;
        font-size: 28px;
        color: #fff;
        text-align: center;
        line-height: 66px;
        margin:auto;
      }

      .cont {
        h3 {
          font-family: "OSBold";
          font-size: 20px;
          margin-top: 20px;
          margin-bottom: 25px;
        }
  
        p {
          margin-bottom: 0;
          color: #666;
          font-size: 13.5px;
        }
      }
      
    }
  }
}

@media screen and (max-width:992px) {
  .contact_info {
    height: 360px;

    .info_list {
      li {
        width: 178px;

        .icon {
          width: 60px;
          height: 60px;
          line-height: 60px;
          font-size: 24px;
        }

        .cont {
          h3 {
            font-size: 18px;
            margin-bottom: 20px;
          }
  
          p {
            font-size: 12px;
          }
        }
      }
    }
  }
}

@media screen and (max-width:680px) {
  .contact_info {
    height: 380px;

    .info_list {
      flex-wrap: wrap;
      
      li {
        width: 240px;
        display: flex;
        margin-top: 20px;

        .icon {
          width: 66px;
          height: 66px;
          border-radius: 0%;
          font-size: 26px;
          color: #fff;
          text-align: center;
          line-height: 66px;
          margin:auto;
          transition: all .2s;
        }
  
        .cont {
          width: 174px;
          text-align: left;
          padding-left: 10px;
          h3 {
            margin-top: 0px;
            margin-bottom: 5px;
          }
    
        }
        
      }
    }
  }

  .map {
    margin-bottom: 50px;
  }
}

@media screen and (max-width:510px) {
  .contact_info {
    height: 550px;

    .info_list {
      margin-top: 0px;
      
      li {
        width: 280px;
  
        .cont {
          h3 {
            font-size: 20px;
          }
    
        }
        
      }
    }
  }
}

/* contact_form */
.contact_form {
  height: 600px;

  form {
    padding-top: 40px;
    width: 530px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
    .username,
    .email {
      width: 48%;
      height: 42px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #f5f5f5;

      input {
        width: 100%;
        height: 100%;
        background: none;
        border: none;
        outline: none;
        padding-left: 20px;
        color: #999;
      }
    }

    .message {
      margin-top: 10px;
      textarea {
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f5f5f5;
        outline: none;
        padding: 20px;
      }
    }

    .btn {
      width: 100%;
      padding: 0;
      button {
        width: 100%;
        height: 40px;
        background-color: #71b6d5;
        color: #fff;
        font-family: "OSBold";
      }
    }
  }
}

@media screen and (max-width:560px) {
  .contact_form {
    form {
      width: 100%;
      .username,
      .email {
        width: 100%;
        margin-bottom: 16px;
      }

      .email {
        margin-bottom: 8px;
      }

      .message {
        margin-bottom: 10px;
      }
    }
  }
}